<?php

namespace catchAdmin\phone\controller;

use catchAdmin\lm\model\Project as ProjectModel;
use catchAdmin\phone\common\Jwt;
use catcher\CatchResponse;
use think\Response;

class Project extends Jwt
{
    protected $executiveModel;


    /**
     *
     * @time 2023/04/26 08:45
     * @return Response
     */
    public function index(ProjectModel $projectModel): Response
    {
        $this->projectModel = $projectModel;
        return CatchResponse::paginate($this->projectModel->getList());
    }

}